efi_loader: replace efi_div10 by do_div
authorHeinrich Schuchardt <[email protected]>
Thu, 5 Oct 2017 14:14:14 +0000 (16:14 +0200)
committerAlexander Graf <[email protected]>
Mon, 9 Oct 2017 05:00:29 +0000 (07:00 +0200)
commit7d963323a25f87f701aab6ced99a912230f19776
treec9bc7fc22a45df0cb138d3f5f165c08b179c448f
parent332468f7fca8d6089367083f4386478793e3b544
efi_loader: replace efi_div10 by do_div

We should use the existing 64bit division instead of
reinventing the wheel.

Signed-off-by: Heinrich Schuchardt <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
lib/efi_loader/efi_boottime.c